/**
 * WebHttpClient.js
 * @author Ulyan Sobin
 * @description WebHttpClient class
 */

"use strict";

const { WebHttpRequest } = require("./WebHttpRequest");
const { WebHttpResponse } = require("./WebHttpResponse");
const { WebClient } = require("../WebClient");

class WebHttpClient extends WebClient {

	/** @type {WebHttpRequest} */ request;

	/** @type {WebHttpResponse} */ response;

	/**
	 * Constructor of `WebHttpClient`
	 * @param {WebHttpRequest} request 
	 * @param {WebHttpResponse} response 
	 */
	constructor (request, response) {
		super(request, response);
		this.request = request;
		this.response = response;
	}
}

module.exports.WebHttpClient = WebHttpClient;